from Source.version.core import down

if __name__ == '__main__':
    while(1):
        print("--------------powered by FMJ--------------")
        print("---------------version:1.2----------------")
        print("###--------------Example---------------###")
        print("      m3u8地址:https://xxx/*.m3u8")
        print("      下载路径:G:\\temp\\xxx")
        print("      文件名(不需要后缀):yrzx")
        print("------------------------------------------")
        print("------------------------------------------")
        print("\n")
        print("输入m3u8地址：")
        url = input()
        print("输入下载路径：")
        path = input()
        print("输入保存文件名(不需要后缀)：")
        videoname = input()

        downg = down.down(url, path, videoname, 10)
        downg.download()




